/**
 * @Title: HomeActivity.java
 * @Package com.sinoglobal.waitingMe.activity
 * @Description: TODO(用一句话描述该文件做什么)
 * @author hpq
 * @date 2015-8-30 上午11:55:09
 */

package com.sinoglobal.wallet.activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;

import com.sinoglobal.wallet.R;
import com.sinoglobal.wallet.activity.W_SinoBaseActivity;
import com.sinoglobal.wallet.activity.W_SinoBaseActivity.DialogOnClickListener;

/**
 * @author clf
 * @createdate 2015-10-22
 * @Description: TODO(余额明细帮助)
 */
public class W_BalanceDetailHelpActivity extends W_SinoBaseActivity  {

	private View phone;

	@Override
	protected void onCreate(Bundle arg0) {
		super.onCreate(arg0);
		setContentView(R.layout.wallet_balace_detail_help_layout);
		mTemplateTitleText.setText("帮助");
phone = findViewById(R.id.help_phone);
phone.setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		int id = v.getId();
		if(id==R.id.help_phone){
	showDialog(W_BalanceDetailHelpActivity.this, "提示", "您确定拨打电话吗？", null ,R.color.w_c14, null,R.color.w_c14,true,new DialogOnClickListener() {
				
				@Override
				public void onSure(View v) {
					Intent intent = new Intent(Intent.ACTION_DIAL);
					intent.setData(Uri.parse("tel:" + "4008321933"));
					startActivity(intent);
				}
				
				@Override
				public void onCancle(View v) {
					
//					showToast("取消");
				}
			});
		}
	}
}
